package com.gz.action.impl;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.gz.action.Action;
import com.gz.pojo.Animal;
import com.gz.pojo.Dog;

public class DogAction implements Action {

	@Override
	public String execute(HttpServletRequest request,Animal animal,Map<String, String> forwardMap) {
		Dog dog=(Dog)animal;
		return dog.toString();
	}
	
	

}
